import request from "@/utils/request";

export function getWithdrawList(token) {
  return request({
    url: "/withdrawLog/list",
    method: "get",
    headers: {
      token
    }
  });
}

export function apply(token, data) {
  return request({
    url: "/withdrawLog/apply",
    method: "post",
    headers: {
      token,
      "Content-Type": "application/x-www-form-urlencoded"
    },
    data: {
      data
    }
  });
}

